<?php
require_once dirname(__FILE__).'/include.php';
?>	
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?=Config::$siteName ?></title>		
<?php
require_once dirname(__FILE__).'/heard.php';
?>	
</head>
<body>
<div id="main-content">		
				<div class="content-box">
				<div class="content-box-header">					
					<h3>当前位置：<?=Config::$siteName ?>管理首页</h3>									
					<div class="clear"></div>					
				</div> 
				<div class="content-box-content">		
					<div class="notification information png_bg">
						<div><p>
<span class="style_0">AnyphpMvc介绍</span><br />
&nbsp;&nbsp;<span class="style_0">轻便、简易、通俗、易懂、免费、轻松的PHP框架，只需要鼠标点点就可完成数据的增、删、改、减，内置的用户组管理、权限管理实现简单实用的RBAC。</span><br />
&nbsp;&nbsp;<span class="style_0">无须模板减少学习成本、提高运行效率、方便调试，不用另建模板文件不用一句SQL语句，轻松自由的完成数据各种操作。</span><br />
&nbsp;&nbsp;<span class="style_0">部署灵活，AnyphpMvc随处可用，拿来即用，常规+非常规。</span><br />
&nbsp;&nbsp;<span class="style_0">只需要建立数据表把所有剩下的工作都交给AnyphpMvc吧，AnyphpMvc可根据表实现控制器的添加；无须新建模型文件即可实现数据的常规操作；控制不同用户组的访问权限；自动生成列表、新增、修改等表单。AnyphpMvc能够智能的完成这一切。</span><br />
<br />
<br />
<br />
<span class="style_0">AnyphpMvc与常规PHP&nbsp;MVC框架的对比</span><br />
<br />
<span class="style_0">AnyphpMvc面向群体</span><br />
<br />
<span class="style_0">AnyphpMvc合适我用吗</span><br />
<br />
<span class="style_0">下载AnyphpMvc之后该怎么入门</span><br />
<span class="style_0">//</span><br />
<br />
<span class="style_0">怎样直接执行SQL语句</span><br />
&nbsp;&nbsp;<span class="style_0">$Admin&nbsp;=&nbsp;new&nbsp;AdminControl();</span><br />
&nbsp;&nbsp;<span class="style_0">$mydb&nbsp;=&nbsp;new&nbsp;DataBaseObject();</span><br />
&nbsp;&nbsp;<span class="style_0">$mydb-&gt;db-&gt;execute("Sql");</span><br />
&nbsp;&nbsp;<span class="style_0">$mydb-&gt;db-&gt;insert('table_name',array('field_name'=&gt;Get::getByKey('field_value')))</span><br />
&nbsp;&nbsp;<span class="style_0">$mydb-&gt;db-&gt;delete('table_name',array('field_name'=&gt;Get::getByKey('field_value')))</span><br />
&nbsp;&nbsp;<span class="style_0">//table_name&nbsp;是查询的表名&nbsp;后面的查询是条件</span><br />
<br />
<span class="style_0">AnyphpMvc支持什么数据库</span><br />
<br />
<span class="style_0">怎样根据SQL查询数据</span><br />
&nbsp;&nbsp;<span class="style_0">查询单条数据</span><br />
&nbsp;&nbsp;<span class="style_0">$model&nbsp;=&nbsp;$mydb-&gt;db-&gt;selectSingle('table_name',array('field_name'=&gt;Get::getByKey('field_value')));</span><br />
&nbsp;&nbsp;<span class="style_0">调用&nbsp;$model['field_name']</span><br />
&nbsp;&nbsp;<span class="style_0">查询多条数据</span><br />
&nbsp;&nbsp;<span class="style_0">$model&nbsp;=&nbsp;$mydb-&gt;db-&gt;select('table_name',array('field_name'=&gt;Get::getByKey('field_value')));</span><br />
&nbsp;&nbsp;<span class="style_0">//table_name&nbsp;是查询的表名&nbsp;后面的查询是条件</span><br />
<br />
<span class="style_0">AdminControl&nbsp;与&nbsp;DefaultControl&nbsp;的区别</span><br />
<span class="style_0">AdminControl&nbsp;需要登录和权限，DefaultControl则不需要，一般来说后台文件包含&nbsp;AdminControl.cls.php，而前台文件（例如网站首页分类页面等）包含DefaultControl.cls.php</span><br />
<br />
<span class="style_0">技巧</span><br />
<span class="style_0">1.无论何时何地&nbsp;只要包含文件&nbsp;DefaultControl.cls.php&nbsp;或者&nbsp;AdminControl.cls.php</span><br />
<span class="style_0">例如</span><br />
<span class="style_0">include&nbsp;dirname(__FILE__).'/../Control/AdminControl.cls.php';</span><br />
<span class="style_0">即可直接使用自定义函数</span><br />
<span class="style_0">$Admin&nbsp;=&nbsp;new&nbsp;AdminControl();//实例化</span><br />
<span class="style_0">$mydb&nbsp;=&nbsp;new&nbsp;DataBaseObject();//直接使用SQL</span><br />
<span class="style_0">$mydb-&gt;db-&gt;insert("do&nbsp;somethings");</span><br />
<br />
<span class="style_0">2.POST&nbsp;GET&nbsp;Session&nbsp;Cookie</span><br />
<span class="style_0">Post::getByKey('key');</span><br />
<span class="style_0">Get::getByKey('key');</span><br />
<span class="style_0">Session::getByKey('key');</span><br />
<span class="style_0">Cookie::getByKey('key');</span><br />
<br />
<span class="style_0">2010-09-24</span><br />
<span class="style_0">AnyphpMvc初次上传，完成基本功能，完成AnyphpMvc部署和框架搭建。</span><br />
<br />
<span class="style_0">2010-09-25</span><br />
<span class="style_0">一些小修改，</span><br />
<span class="style_0">修正数据库配置文件</span><br />
<span class="style_0">修正编辑权限时候出现的一些BUG</span><br />
<span class="style_0">修正错误提示显示方式</span><br />
<span class="style_0">添加文章管理模块</span><br />
<br />
<span class="style_0">2010-09-28</span><br />
<span class="style_0">增加了首页的调用</span><br />
<span class="style_0">修复一些小BUG</span><br />
<span class="style_0">添加jquery.uploadify上传插件</span><br />
<span class="style_0">新增后台添加单页管理模块</span><br />
<span class="style_0">未完成的网站首页</span><br />
<br />
<span class="style_0">2010-10-02</span><br />
<span class="style_0">不再规定表的主键必须为“ID”</span><br />
<span class="style_0">新增开发助手：</span><br />
&nbsp;&nbsp;&nbsp;&nbsp;<span class="style_0">1&nbsp;实现权限节点的自动添加</span><br />
&nbsp;&nbsp;&nbsp;&nbsp;<span class="style_0">2&nbsp;实现控制器的代码生成</span><br />
<br />
<span class="style_0">2010-10-03</span><br />
<span class="style_0">新增代码高亮插件。</span><br />
<span class="style_0">1&nbsp;修复权限控制，判断登录的几个BUG</span><br />
<span class="style_0">2&nbsp;强化开发助手，可以自动生成控制器，自动智能生成权限节点。</span><br />
<br />
<span class="style_0">2010-10-05</span><br />
<span class="style_0">增强开发助手，实现以下功能</span><br />
<span class="style_0">1&nbsp;可以在线创建数据库，同时默认主键为ID</span><br />
<span class="style_0">2&nbsp;可在线修改字段类型等，同时建立字段字典，指定字段的数据类型和表单类型</span><br />
<span class="style_0">3&nbsp;可根据数据表智能自动生成列表、编辑、新增表单，并根据不同字段表单类型对应不同表单。</span><br />
<br />
<span class="style_0">2010-10-08</span><br />
<span class="style_0">重新整理优化框架</span><br />
<span class="style_0">1&nbsp;增加SQLITE数据库的支持</span><br />
<span class="style_0">2&nbsp;把框架与网站分开</span><br />
<br />

</p>
						</div>
					</div>					
				</div> 
</div>
</div>

</body>  
</html>
